package com.briup.sms.service;

import com.briup.sms.entity.Banner;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author :xuyang
 * @DateTime:2023/12/26 9:12
 * @Version :v1.0.0
 * ClassName:BannerService
 * Package  :com.briup.sms.service
 * Description:轮播
 */
public interface BannerService {
    //分页查询轮播信息
    PageInfo<Banner> findBanners(String title, Boolean active, Integer pageSize, Integer pageNum);

    //新增或者修改轮播信息
    void save(Banner banner);

    //修改轮播启用状态
    void updateActive(Integer id);
}
